home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: VC++4.0 Unresolved External
- Date: 30 Jan 1996 03:24:23 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4ek317$hm@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe6.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Jan 29, 1996 17:53:34 in article <VC++4.0 Unresolved External>,
- 'dougbt@ids.net' wrote:
-
- >
- >Hello, sorry for the newbie question, please email me w/ response to avoid
-
- >problems.
- >
- >[Q] Running VC++ V.4.0 and trying to run the Easytext example from the
- Sams
- >Programming Windows 95 book. The code was downloaded from the author's
- >archive at sams ftp site. Why when I go to build the .exe file does it
- >keep telling me 'libcr.o (crt.o) Link error, unresolved external _main'
- >(it's not exact, but very close to that...) Thank you very much for help
- >in advance, I'm pretty well versed in C, but this C++/Windows stuff is
- >driving me absolutely nuts.
- >
- Make sure that your project type matches your code. For example,
- if you're using WinMain as your entry point, declaring your project
- as a Console App would result in _main not being defined.
-
- Is this a GUI or Console App? If you don't know and still have
- problems, post some code -- preferably in newsgroup
- comp.os.ms-windows.programmer.
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-